package com.tsai.english.model;

import java.io.Serializable;

import com.fanfq.smplayer.SMPlayerApplication;

import android.os.Environment;

public class MusicItem implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 6527175859802320602L;
	private int id;
	private String name;
	private String lrc;
	private String mp3;
	private String txt;
	private String year;
	private String month;
	private int download;
	private int favorite;
	private int readCount;
	private String lastReadTime;
	
	public String getLastReadTime() {
		return lastReadTime;
	}
	public void setLastReadTime(String lastReadTime) {
		this.lastReadTime = lastReadTime;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLrc(){
		return lrc;
	}
	public String getTxt_lrc(){
		return SMPlayerApplication.SOURCE_URL+lrc;
	}
	public String getLrc_sdcard_path() {
		return SMPlayerApplication.ROOT_SDCARD_PATH+lrc;
	}
	public void setLrc(String lrc) {
		this.lrc = lrc;
	}
	public String getMp3(){
		return mp3;
	}
	public String getMp3_url(){
		return SMPlayerApplication.SOURCE_URL+mp3;
	}
	public String getMp3_sdcard_path() {
		return SMPlayerApplication.ROOT_SDCARD_PATH+mp3;
	}
	public void setMp3(String mp3) {
		this.mp3 = mp3;
	}
	public String getTxt(){
		return txt;
	}
	public String getTxt_url(){
		return SMPlayerApplication.SOURCE_URL+txt;
	}
	public String getTxt_sdcard_path() {
		return SMPlayerApplication.ROOT_SDCARD_PATH+txt;
	}
	public void setTxt(String txt) {
		this.txt = txt;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public int getDownload() {
		return download;
	}
	public void setDownload(int download) {
		this.download = download;
	}
	public int getFavorite() {
		return favorite;
	}
	public void setFavorite(int favorite) {
		this.favorite = favorite;
	}
	public int getReadCount() {
		return readCount;
	}
	public void setReadCount(int readCount) {
		this.readCount = readCount;
	}

}
